home *** CD-ROM | disk | FTP | other *** search
- on renseigne texte, stile, nCurs
- set the text of cast "Zone Info" to " "
- set the textStyle of field "ZONE INFO" to "plain"
- set the textStyle of field "ZONE INFO" to stile
- set the text of cast "Zone Info" to texte
- curseur(nCurs)
- end
-
- on exitFrame
- global gLocLabel
- go(label(gLocLabel))
- end
-
- on idle
- global gBarChron, gSurvolAct, gSurvolPrec, gListSuj, gMessDef1, gMaxBoutons, gEtaSpir, gMessSty1, g1erSprChr, g1erSprNav, g1erSprLoc, gListCod, gEtudAct, gTraduit
- if not (the mouseDown) then
- set MsCast to the mouseCast
- if MsCast > -1 then
- if not gEtaSpir then
- set gSurvolAct to 0
- repeat with monSpr = g1erSprChr to gMaxBoutons
- if rollOver(monSpr) and (the castNum of sprite monSpr <> 0) and the visible of sprite monSpr then
- set gSurvolAct to monSpr
- exit repeat
- end if
- end repeat
- if gSurvolAct <> gSurvolPrec then
- if gSurvolAct <> 0 then
- if (gSurvolAct >= g1erSprChr) and (gSurvolAct <= (g1erSprChr + 9)) then
- gBarChron(survol, gSurvolAct, the number of cast "Zone info")
- end if
- if gSurvolAct = g1erSprNav then
- renseigne(getAt(gTraduit, 12), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 1) then
- renseigne(getAt(gTraduit, 1) && getAt(gTraduit, 2) && getAt(gTraduit, 3), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 2) then
- renseigne(getAt(gTraduit, 1) && getAt(gTraduit, 2) && getAt(gTraduit, 5), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 3) then
- renseigne(getAt(gTraduit, 26) && getAt(gTraduit, 4), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 4) then
- renseigne(getAt(gTraduit, 1) && getAt(gTraduit, 2) && getAt(gTraduit, 7), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 5) then
- renseigne(getAt(gTraduit, 27), "bold", 1)
- end if
- if gEtudAct = "mon" then
- set dernSuj to g1erSprLoc + 3
- if gSurvolAct = (dernSuj + 1) then
- renseigne(getAt(gTraduit, 82), "bold", 1)
- end if
- if gSurvolAct = (dernSuj + 2) then
- renseigne(getAt(gTraduit, 83), "bold", 7)
- end if
- else
- set dernSuj to g1erSprLoc + 6
- if gSurvolAct = (dernSuj + 1) then
- renseigne(getAt(gTraduit, 84), "bold", 1)
- end if
- end if
- if (gSurvolAct >= g1erSprLoc) and (gSurvolAct <= dernSuj) then
- set moncod to word 1 of the name of cast the castNum of sprite gSurvolAct
- set monNumSuj to getPos(gListCod, moncod)
- set monSuj to getAt(gListSuj, monNumSuj)
- set monNomSuj to monSuj(Le_Nom)
- if word 1 of monNomSuj <> "Homo" then
- set monNomSuj to word 1 of monNomSuj
- end if
- set monEpok to monSuj(Le_Epoque)
- gBarChron(fleche, 1, monEpok, 1)
- if moncod = "HSN" then
- renseigne(monNomSuj, "bold,italic", 3)
- else
- renseigne(monNomSuj, "bold,italic", 7)
- end if
- end if
- if gSurvolAct = (g1erSprLoc + 9) then
- set monNomSuj to gSujet0(Le_Nom)
- if word 1 of monNomSuj <> "Homo" then
- set monNomSuj to word 1 of monNomSuj
- end if
- renseigne(monNomSuj, "bold,italic", 1)
- end if
- else
- gBarChron(fleche, 0, 1, 1)
- renseigne(gMessDef1, gMessSty1, -1)
- end if
- end if
- else
- if the number of words in the name of cast MsCast = 2 then
- if (word 2 of the name of cast MsCast = "1") or (word 2 of the name of cast MsCast = "0") then
- curseur(1)
- else
- curseur(-1)
- end if
- else
- curseur(-1)
- end if
- end if
- set gSurvolPrec to gSurvolAct
- updateStage()
- end if
- end if
- end
-